package linter.linterjava.mapper;

import linter.linterjava.POJO.DO.ReviewDislikes;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
* @author 北煜
* @description 针对表【review_dislikes(评论不喜欢表)】的数据库操作Mapper
* @createDate 2024-07-07 12:16:01
* @Entity linter.linterjava.POJO.DO.ReviewDislikes
*/
public interface ReviewDislikesMapper extends BaseMapper<ReviewDislikes> {

    /**
     * @param reviewId 评论id
     * @return 返回查询的数据数量
     */
    int selById(@Param("reviewId") Long reviewId);

    /**
     * @param uuid 用户id
     * @param reviewId 评论id
     * @return 返回查询的数据数量
     */
    int selByIdAndReviewId(@Param("uuid") Long uuid, @Param("reviewId") Long reviewId);
}




